
#ifndef util_H
#define util_H

	using namespace std;

	#include <math.h>
	#include "point3d.h"
	#include "vector3d.h"
	#include <vector>
	#include <string>

	void crossproduct(myVector3D & v1, myVector3D & v2, myVector3D & result);
	void rotate2(myVector3D & input, myVector3D &lp, double theta);
	void rotate2(myPoint3D & input, myVector3D & lp, double theta);
	void computeNormal(myPoint3D & v1, myPoint3D & v2, myPoint3D & v3, myVector3D & result);
	void split(vector<string> &tokens, const string &text, char sep);

#endif

